package com.zrhsh

import android.content.Intent
import android.os.Bundle
import io.flutter.embedding.android.FlutterActivity
import com.umeng.commonsdk.UMConfigure
import com.umeng.umeng_common_sdk.UmengCommonSdkPlugin

class MainActivity: FlutterActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        UMConfigure.preInit(this, "57b26cf567e58e5c740003dd", "Umeng")
        UMConfigure.setLogEnabled(true)
        //设置上下文
        UmengCommonSdkPlugin.setContext(this)
    }
}
